<?php echo $this->render('common/header.phtml'); ?>
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<!--  start page-heading -->
	<div id="page-heading">
		<h1>List user</h1>
        <div class="toolbar"><a href="<?php echo $this->baseUrl('admin/group/add');?>">Add</a></div>
	</div>
	<!-- end page-heading -->

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="<?php echo $this->dirImg.'/shared/side_shadowleft.jpg' ?>" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="<?php echo $this->dirImg.'/shared/side_shadowright.jpg' ?>" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
				<!--  start message-yellow -->

				<div id="message-yellow">

				<table border="0" width="100%" cellpadding="0" cellspacing="0">

				<tr>

					<td class="yellow-left">You have a new message. <a href="">Go to Inbox.</a></td>

					<td class="yellow-right"><a class="close-yellow"><img src="<?php echo $this->dirImg;?>/table/icon_close_yellow.gif"   alt="" /></a></td>

				</tr>

				</table>

				</div>

				<!--  end message-yellow -->


				<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-check"><a id="toggle-all" ></a> </th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">Name</a>	</th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">Description</a></th>
                    <th class="table-header-repeat line-left minwidth-1"><a href="">Group parent</a></th>
					<th class="table-header-options line-left"><a href="">Options</a></th>
				</tr>
                <?php foreach( $this->paginator as $key => $value ){?>
				<tr <?php if($key%2!=0){?>class="alternate-row"<?php }?>>
					<td><input type="checkbox" name="id" value="<?php echo $value['id'];?>"/></td>
					<td><?php echo $value['name'];?></td>
					<td><?php echo $value['description'];?></td>
                    <td><?php echo $value['group_parent'];?></td>
					<td class="options-width">
					<a href="<?php echo $this->baseUrl('admin/group/add/id/').$value['id'];?>" title="Edit" class="icon-1 info-tooltip"></a>
					<a href="javascript:;" title="Del" class="icon-2 info-tooltip deleteList"></a>
					<a href="" title="Active" class="icon-5 info-tooltip"></a>
					</td>
				</tr>
                <?php }?>
				</table>
				<!--  end product-table................................... --> 
				</form>
			</div>
			<!--  end content-table  -->
		
			<!--  start actions-box ............................................... -->
			<div id="actions-box">
				<a href="" class="action-slider"></a>
				<div id="actions-box-slider">
					<a href="" class="action-edit">Edit</a>
					<a href="" class="action-delete">Delete</a>
				</div>
				<div class="clear"></div>
			</div>
			<!-- end actions-box........... -->
			
			<!--  start paging..................................................... -->
			<?php echo $this->paginationControl( $this->paginator, 'Sliding', 'common/pagination.phtml' ); ?>
			<!--  end paging................ -->

			<div class="clear"></div>
		 
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->
<div class="noteDialog" style="display:none">
    <div class="deleteMessages"><?php echo $this->language->getMessages('en', 'deleteProduct');?></div>
</div>
<div class="clear">&nbsp;</div>

<?php echo $this->render('common/footer.phtml'); ?>   